﻿<?php
	session_start();
	require_once('php/include/global.php');	
	require('php/include/checks.php');
	
	ob_start();
	
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>Blackjack</title>
        <link rel="shortcut icon" href="static/images/icon/sp-logo.ico" type="image/x-icon">
        <?php
			if(!$user->isLogged()){
				 echo '<link rel="stylesheet" type="text/css" href="static/css/home.css">';
			}else{
				 echo '<link rel="stylesheet" type="text/css" href="static/css/default.css">';
			}
		?>
       
        <script language="JavaScript" src="static/js/jquery-1.3.2.min.js"></script>
 		<script language="JavaScript" src="static/js/ajax.js"></script>
		<script language="JavaScript" src="static/js/library.js"></script>
		<script language="JavaScript" src="static/js/ajax_framework.js"></script>

		<script language="JavaScript">
			function popUp(URL) {
				day = new Date();
				id = day.getTime();
				eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=600');");
			}
		</script>
		
    </head>
    <body>
        <div id="container">
        	<?php 
        		require('php/pages/header.php');
        		require('php/pages/center.php');
        		require('php/pages/footer.php');
        	?>
		</div>
    </body>
<?php
	ob_flush();
?>
</html>